package im.vinci.server.user.domain;

import com.google.common.base.MoreObjects;

import java.io.Serializable;

/**
 * Created by tim@vinci on 2017/6/26.
 */
public class UserAddressBook implements Serializable{
    private long id;
    private long uid;
    private String name;
    private String phoneNum;

    public long getId() {
        return id;
    }

    public UserAddressBook setId(long id) {
        this.id = id;
        return this;
    }

    public long getUid() {
        return uid;
    }

    public UserAddressBook setUid(long uid) {
        this.uid = uid;
        return this;
    }

    public String getName() {
        return name;
    }

    public UserAddressBook setName(String name) {
        this.name = name;
        return this;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public UserAddressBook setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
        return this;
    }

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("id", id)
                .add("uid", uid)
                .add("name", name)
                .add("phoneNum", phoneNum)
                .toString();
    }
}
